##############################################################################
# Python From Scratch
# Autor: Nilo Ney Coutinho Menezes
# Editora Novatec (c) 2010-2024
# Site: https://pythonfromscratch.com
#
# File: listing\chapter 08\08.1262 - No Title.py
# Description: No Title
##############################################################################
Enter the index you want to print:1
Carlos
Attempt 1
Enter the index you want to print:abc
Enter a number!
Attempt 2
Enter the index you want to print:100
Attempt 3
Traceback (most recent call last):
File "<stdin>", line 4, in <module>
IndexError: list index out of range